const {
	Controller
} = require("uni-cloud-router");
module.exports = class CloudStockController extends(
	Controller
) {
	async getNum(event, context) {
		return this.service.cloudStock.getNum(event.event);
	}
	async getData(event, context) {
		return this.service.cloudStock.getData(event.event);
	}
	async getStockLogs(event, context) {
		return this.service.cloudStock.getStockLogs(event.event);
	}
	async getSales(event, context) {
		return this.service.cloudStock.getSales(event.event);
	}
};